//package com.zzyl;
//
//import com.huaweicloud.sdk.core.auth.ICredential;
//import com.huaweicloud.sdk.core.auth.AbstractCredentials;
//import com.huaweicloud.sdk.core.auth.BasicCredentials;
//import com.huaweicloud.sdk.core.exception.ConnectionException;
//import com.huaweicloud.sdk.core.exception.RequestTimeoutException;
//import com.huaweicloud.sdk.core.exception.ServiceResponseException;
//import com.huaweicloud.sdk.core.region.Region;
//import com.huaweicloud.sdk.iotda.v5.*;
//import com.huaweicloud.sdk.iotda.v5.model.*;
//import org.junit.jupiter.api.Test;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//
//@SpringBootTest
//public class ListProductsSolution {
//    @Autowired
//    private IoTDAClient client;
//    @Test
//    public  void test() {
//        // 创建请求对象
//        ListProductsRequest request = new ListProductsRequest();
//        // 通过client对象调用方法发送请求并获取返回结果
//        ListProductsResponse response = client.listProducts(request);
//        // 处理返回结果
//        System.out.println(response.toString());
//    }
//}
